import {request} from "../../request";
export function saveCourse(data) {
  return request({
    url: '/course/tea/add',
    method: 'post',
    data:data,
    headers: {
      "Content-Type":"application/json"
    },
  })
}

export function getTeacherCourse() {
  return request({
    url: '/course/tea/myCourse',
    method: 'get',
  })
}

export function updateCourse(data) {
  return request({
    url: '/editCourse/updateBasic',
    method: 'post',
    data:data,
    headers: {
      "Content-Type":"application/json"
    },
  })
}


